package com.liming.common.pojo.dto.stock;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author liming
 * @date 2025/1/28
 */
@Data
@Schema(description = "用户下单商品列表 - 库存流水DTO")
public class UserOrderProductListDTO {

    @Schema(description = "库存ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long stockId;

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long productId;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer quantity;
}
